<div class="content-box"><!-- Start Content Box -->
    <form action="" method="POST" name="dulieu" id="formnoidung"  enctype="multipart/form-data" onsubmit="return validateFormTd()">
    	<div class="content-box-header">
    		<h3>Danh mục trình độ</h3>
    	</div>
        <div class="content-box-content">
        	<table>              
                <tr>  
                    <td>Mã trình độ</td>                  
                    <td><input type="text" name="madm_td" id="madm_td" value="{$ma}" class="text-input"/><label id="td1"></label></td>
                </tr>
                <tr>
                    <td>Tên trình độ</td>
                    <td><input type="text" name="ten_td" id="ten_td" value="{$ten}" class="text-input"/><label id="td2"></label></td>
                </tr> 
                <tr>
                    <td>Tên viết tắt</td>
                    <td><input type="text" name="ten_vt_td" id="ten_vt_td" value="{$tenvt}" class="text-input"/><label id="td3"></label></td>
                </tr>                
                <tr>
                    <td colspan="2"><input type="submit" class="button" name="btnLuu" value="{$btnName}" /></td>
                </tr>
            </table>
        </div>
     </form>
     <form action="" method="POST" name="dulieu" id="formnoidung"  enctype="multipart/form-data">
        <div class="content-box-header">
            <h3>Danh sách trình độ</h3>
        </div>
        <div id="items">
            <table>
                <tr>
                    <td colspan="6">
                        <input type="text" class="text-input" name="txtkey"/>
                        <input type="submit" value="Tìm kiếm" name="timkiem" class="button"/>
                        <input type="submit" name="xoachon" class="button" value="Xóa Chọn" />
                    </td>
                </tr>
                <tr>
                    <th><input name="checkall" id="checkall" value="" type="checkbox" onclick="SetAllCheckBoxes('formnoidung','items',this.checked);" /></th>
                    <th>Mã TĐ</th>
                    <th>Tên trình độ</th>
                    <th>Tên viết tắt</th>
                    <th colspan="2">Chức năng</th>
                </tr>
                {foreach from=$ds_trinhdo item=trd}
                <tr>
                    <td class="cangiua"><input type="checkbox" id="checkbox[]" name="checkbox[]" value="{$trd->getmadm_td()}"/></td>
                    <td class="cangiua">{$trd->getmadm_td()}</td>
                    <td>{$trd->getten_td()}</td>
                    <td class="cangiua">{$trd->getten_vt_td()}</td>
                    <td><a href="chuongtrinhdaotao-trinhdo-ma-{$trd->getmadm_td()}"><img src="../php/images/edit1.png" title="S?a"/></a></td>
                    <td><a onclick="return confirm('Bạn có muốn xóa ngành {$trd->getten_td()}?')" href="chuongtrinhdaotao-trinhdo-xoama-{$trd->getmadm_td()}"><img src="../php/images/del.png" title="Xóa"/></a></td>
                </tr>
                {/foreach}
                <tr>
                    <td colspan="6" class="canphai" style="text-align: right; padding: 10px;">Trang<span class="pagers"> {$p} {$pages}</span></td>
                </tr>
            </table>
        </div>
    </form>
</div>
